added a bit of code for sieges