add instances. simplify console
minor fixes