submit much code about attribute and key