Affordances updated and working with learning code