create button implementation

full implementation of the create button