implemented tabs from model definition