somewhat stable version before added tabs and stuff