without nikhil's code