lap:code cleaned