updating/improving hook functionality