better syntax of coding