Added enum to keep track of bond type