gelo_lib help functions