parse annotations