refactor function name
refactor
del_buffer helper
added Attrib struct for cleaner code
render self