adaptive but not working