implemented oldversion methods nad added tests