added functions for circle