Final version without main