added expr function
worked on expressions