changed #main to .main

So that .main can be reused