use after_create instead of after_initialize