added a z index setter