better syntax for code and better directions