getColor() fixed. Timeout timer added for gate. only thing left is add
observer stuff