hybrid function weird