implemented blueprint

working on error handling as its been broken by blueprint