changing delete syntax

adding style rule