added options hash for attributes