not working for both, revert to first