added more resource to finish 2nd conditional