adding some nicities
fixing hash syntax