Binary mode added, remove floating value in brightness