eclipse added but not working correctly