get rid of json decl, be more perlish