working without revert need to get methods work