added some glue functions