Added clear, reverse, bugfix