stopping point for tonight, will implement this tomorrow