got rid of duplicate line