added old gaana code