base layer setup