Added notices to functions that were used from work that is not mine