Electronic structure at band edges