trying to add if check again