[WIP]
[ADD] wait function
[COSM] Makefile