this is the api for our EE496 project