added transparency, started collision function