moved intro to top and simplified