my version of JOS in the end