creating global function  and name spacing in tutsplus