working custom create function and styling