adds grain tab events