implemented initial level configuration
minor bug fixed