initial implementation - source test.sh runs it