scaffold and some basic funtionality