worked on replacing strings by constants