working with numbers and graphs