the ENTER comment is not well located now
you should have it at the beginning of the feature
similar comment for LEAVE

and you could have another comment related to the loop