rearrange functions for readability