added groups and buffer creation functions (non class)