decreasing code size for clarity