Implemented verification. We will need to change this though.