added simple params support