make code nicer, add defaults