added trunk and pc check, works as expected