commented out repeated code