fixing it to use karma