bring related functions closer together