Removed test code, added clear() function