draft version of recogniser finished