added fail function to savecircle