added some initial spray code