Added 5th variable - border