working prototype for front camera