add main methods