make code a little nicer