temporarily deleted check function.