start to implement database