working.comp function

Internal Function