get rid of type errors
remove method, pass test
switch compact syntax of literals