break out function
treat displays as a function
style cleanup