added functions to ease procces of setting stuff up