Added parameters parsing. This time simpliest way.