some silly mistakes corrected