main method
Revert "main method"

This reverts commit 56869c6a83983aa461d8059cab4d8c9689fd4e6d.