fix order of operations. add str parsing.
fix order of operations. add str parsing.