Added submit annotation function