some functions aren't global anymore