added rudimentary type pipeline