got rid of while statement - rudy