fixed annotation function