model. not sure if working properly/at all

Signed-off-by: Joppe Widstam <joppewidstam@hotmail.com>