This is part of RD Station challenge