moved apr to external repo