shorten code
fixed syntax