Basic routine for all - JEFIT