added circle def and user interface functions