starting to fold the learning stuff in