Added a wrapper for routines