Can be combined with previous if statement.