added type signatures to h99 answers