line graph and setup - and new API decided upon -_-