added functions to typer