view option functions... still need to add the margin functionality