removed useless stylist function and fixed comments