Update 1.3: Possibly the final version for Ass4