still trying to work out my json