a new structure based on static class for the functions