Committ with derrikes changes. Realized function was repeated. Removed