Add function to check circle