removed if statement that wasn't needed