add css and prop methods