cleaned function spec
updated tags