implemented everything except ost button