Replaced strings by constants and added a comment