adapted client code to reflect annotation cahnge