added fitwitin functionallity
first version