make a library to make things simpler