amended singleton class usage, now can add successfully with singleton
updated command actions