Add code for initializing item