added rs api (some programs use rs.getSides)