final version for ue1