Tried to re-implemented custom control