defp instead of defproto