Finished the function "abstract"