change to work with optional scope
add base class for several params method validation