Light sensor design