add in clear, fixes #5