better use of space for code