added top collision