add magic comments