Trying to set a way for  framework method calling