Added craft function