type attribute added