Added conditional so it won't return something empty