slightly modified the analytical input