reformat
Remove implicit Clock reference
test isEmpty instead of size == 0