finishing init command functionality