finished writing all methods