some coding (not functional..)