comp5: initial version