added borderstyle variable