use implicit val instead of implicit def

for slight performance tweaks