moved things to constructor
working shell