added vardeclcrap (sorry)