trying to come up with a smooth layout