Added some common functions for all projects