removed unneeded main methods