minor syntax changes, still doesn't work