added processing of incoming parameters