Added compcard handling for trampoline. Not a complete commit