added methods in preparation of client side prediction