correct syntax for code