implements the fixed_dep and month_dep