Fixed black card bug, added comments