created and extended basemodel