refactor function to one-liner
added wells, restyled