basic trick implementation