nicer way of defining learning annotation