make create button work