probes proof of concept
refactoring - moved some code from main to an another class