added main

added main (test)