addd properties frame and some minor changes