second order added (not working well)