full working first step
ignores
refactored for integration test