alias :using and :with options
refactored code a bit for alias