A compound is having both NH group and OH group in its structure. When alkylation is carried out on this compound alkylation took place on NH group not on OH group. The reason may be due to nucleophilicity or basicity, but can anyone give further explanation?