consolodating code from other projects