adding configuration handler