create library or class to speed up development