Adding border information helper functions