first attempt at converting to less