added methods to deal with chips