final version 6