maven added dependency and IO work