try to make code smaller